/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;

/**
 * <p>Project: javase - BufferedWriterDemo
 * <p>Powered by webrx On 2021-12-16 09:29:22
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class BufferedWriterDemo {
    public static void main(String[] args) {

        try (var b = new BufferedWriter(new FileWriter("c.txt", true))) {
            b.write("hello中文效果\n");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
